App-based education and training of inhalation technique